// 导航
// less语法，叫嵌套
// 可以用一个变量把颜色存起来
@color: #e79e40;
@bg: #0c0c0c;

.header {
    background-color: @bg;
    background: url(../img/01598e5db26aa4a801209e1f4c7784.jpg);

    .navbar-default {
        background-color: @bg;
        background: url(../img/01598e5db26aa4a801209e1f4c7784.jpg);
        border: none;
        border-radius: 0;
    }

    .navbar {
        margin-bottom: 0;
    }

    .navbar-brand {
        /*将每个单词转换成大写*/
        text-transform: uppercase;
    }

    .navbar-default .navbar-brand {
        color: #fff;
    }

    .nav li a {
        /*将每个单词转换成大写*/
        text-transform: uppercase;

        &:hover {
            border-bottom: 3px solid @color;
        }
    }

    .navbar-default .navbar-nav>li>a {
        color: #fff;

        &:hover {
            color: #fff;
        }
    }

    .navbar-default .navbar-nav>.active>a {
        // 将背景颜色设置成透明的
        background-color: transparent;
        border-bottom: 3px solid @color;

        &:hover {
            background-color: transparent;
            border-bottom: 3px solid @color;
        }
    }

    // 移动端导航按钮
    .navbar-toggle {
        border: none;
    }

    // 在移动端的样式效果
    @media (max-width:768px) {
        .nav li a {
            text-align: center;
        }

        .navbar-default .navbar-nav>.active>a {
            border-bottom: 0px;

            &:hover {
                border-bottom: 0px;
            }
        }

        .navbar-default .navbar-toggle {
            border-color: transparent;
            background-color: transparent;

            &:hover {
                background-color: transparent;
                border-color: transparent;
            }
        }


        .nav li a {
            // 添加过度时间
            transition: all 0.3s;

            &:hover {
                border-bottom: 0;
                // 在移动添加背景颜色
                background-color: #292929 !important;
                font-size: 16px;
            }
        }
    }
}

// 背景
.banner {
    height: 730px;
    background-color: @bg;
    background: url(../img/01598e5db26aa4a801209e1f4c7784.jpg);

    // 上面标题
    .banner-top {
        display: flex;
        justify-content: center;
        color: #fff;

        p {
            margin-top: 230px;
            /*将每个单词转换成大写*/
            text-transform: uppercase;
            font-size: 30px;

            &:nth-child(1) {
                color: #999999;
            }

            &:nth-child(2) {
                color: @color;
            }
        }
    }

    // 中间文字
    .banner-center p {
        font-size: 17px;
        color: #c3c3c3;
        text-align: center;
    }

    // 下面按钮
    .banner-bottom {
        width: 50px;
        height: 50px;
        border: 2px solid #fff;
        border-radius: 100%;
        color: #fff;
        text-align: center;
        font-size: 23px;
        line-height: 38px;
        margin: 280px auto;
        // 加上过度时间
        transition: all 0.6s;

        &:hover {
            transform: translateY(-18px);
            box-shadow: 0px 0px 65px #fff;
        }
    }
}

// 内容
.main {
    height: 620px;
    .main-img {
        margin-top: 100px;
    }

    .main-right {
        margin-left: 100px;
        margin-top: 100px;
    }
    .main-title p {
        font-size: 14px;
        color: #636363;
        text-transform: uppercase;
    }
    .main-font span {
        font-size: 24px;
        text-transform: uppercase;

        &:nth-child(1) {
            border-bottom: 3px solid @color;
        }

        &:nth-child(3) {
            font-weight: bold;
        }
    }

    .main-center {
        margin-top: 30px;
        p {
            color: #6c6c6c;
            font-size: 14px;
        }

    }
    .main-list{
        margin-top: 20px;
        ul li{
            font-size: 14px;
            color: #5a5a5a;
            line-height: 30px;
        }
    }
    @media (min-width:992px) {
        .main-list ul li{
            background: url(../img/icon.png);
            background-repeat: no-repeat;
            background-position: 0px 8px;
            padding-left: 20px;
        }
    }
    // 按钮
    .main-btn{
        width: 194px;
        height: 47px;
        border: 1px solid #7f7f7f;
        border-radius: 3px;
        display: flex;
        justify-content: center;
        margin-top: 50px;
        transition: all 0.5s;
        &:hover{
            transform: translateY(-18px);
            box-shadow: 0px 0px 30px black;
        }
        span{
            line-height: 47px;
            font-size: 12px;
            color: #616161;
            &:nth-child(1){
                margin-top: -2px;
                margin-right: 3px;
            }
        }
    }

    @media (max-width:992px) {
        .main-img {
            // 在移动端设备不显示该图片
            display: none;
        }
        .main-right{
            margin: 125px auto;
        }
        .main-title p{
            text-align: center;
        }
        .main-font{
            display: flex;
            justify-content: center;
        }
        .main-center p{
            text-align: center;
        }
        .main-list ul li{
            text-align: center;
            padding: 0;
        }
        .main-btn{
            margin: 80px auto;
        }
    }
}
// meet our team
.meet{
    height: 726px;
    background-color: @bg;
    .meet-title{
        p{
            font-size: 31px;
            text-transform: uppercase;
            text-align: center;
            color: #fff;
            padding-top: 100px;
        }
    }
    .head-sculpture img{
        width: 130px;
        height: 130px;
        border-radius: 100%;
        transition: all 0.6s;
        &:hover{
            transform: scale(1.3);
            box-shadow: 0 0 30px #fff;
        }
    }
    .meet-box{
        margin-top: 93px;
    }
    .meet-font{
        p{
            color: #fff;
            text-align: center;
            &:nth-child(1){
                font-size: 14px;
                font-weight: bold;
                margin-top: 20px;
            }
            &:nth-child(2){
                font-size: 12px;
                color: #dedede;
            }

        }
    }
    .meet-tab p{
        text-align: center;
        color: #dedede;
    }

    // 分页
    .meet-paging{
        display: flex;
        justify-content: center;
        margin-top: 73px;
        ul li{
            width: 9px;
            height: 9px;
            background-color: #fff;
            float: left;
            margin-left: 13px;
            &:nth-child(1){
                background-color: @color;
            }
            &:hover{
                background-color: @color;
            }
        }
    }

    
}
// 只要屏幕的像素小于992px那么它就显示meet的样式 如果大于了992像素就显示原来的高度726
// max的最大值只能到992像素不能超过992像素
@media (max-width:992px) {
    .meet{
        height: 100%;
    }
}

// Meet our team
.subpage{
    height: 737px;
    .subpage-title{
        p{
            text-align: center;
            font-size: 31px;
            text-transform: uppercase;
            font-weight: bold;
            padding-top: 100px;
        }
    }
    .subpage-font{
        margin-top: 40px;
        p{
            font-size: 12px;
            color: #6c6c6c;
            text-align: center;
        }
    }
    .subpage-top{
        margin-top: 30px;
        p{
            text-align: center;
            font-size: 19px;
            color: #222222;
            text-transform: uppercase;
            font-weight: 600;
        }
    }
    .subpage-list{
        margin-top: 17px;
        p{
            text-align: center;
            font-size: 13px;
            color: #222222;
            line-height: 10px;
        }
    }
    .subpage-box{
        margin-top: 130px;
    }
    .subpage-img{
        img{
            transition: all 0.6s;
            &:hover{
                transform: translateY(-18px);
            }
        }
    }
}
@media (max-width:992px){
    .subpage{
        height: 100%;
    }
}


// SOME OF OUR CLIENTS 
.column{
    height: 518px;
    background-color: @bg;
    .column-title{
        p{
            text-align: center;
            font-size: 31px;
            color: #fff;
            padding-top: 100px;
        }
    }
    .column-img{
        margin-top: 100px;
    }
    // 分页
    .column-paging{
        display: flex;
        justify-content: center;
        margin-top: 100px;
        ul li{
            width: 9px;
            height: 9px;
            background-color: #fff;
            float: left;
            margin-left: 13px;
            &:nth-child(1){
                background-color: @color;
            }
            &:hover{
                background-color: @color;
            }
        }
    }
}
@media (max-width:1024px){
    .column-img img{
        width: 100%;
    }
}
// take a look at our work
.mainnav{
    height: 1333px;
    .mainnav-title{
        padding-top: 100px;
        p{
            font-size: 31px;
            text-transform: uppercase;
            text-align: center;
            font-weight: bold;
        }
    }
    .mainnav-font p{
        text-align: center;
        padding-top: 40px;
    }
    .mainnav-nav{
        display: flex;
        justify-content: space-between;
        margin-top: 110px;
    }
    .mainnav-box{
        margin-top: 40px;
    }
    .mainnav-img{
        margin-top: 30px;
    }
}
@media (max-width:768px){
    .mainnav-img img{
        width: 98%;
    }
}

.mainnav-right{
    span{
        border-left: 1px solid #999999;
        padding-left: 11px;
        width: 103px;
        display: inline-block;
        color: #6c6c6c;
        &:nth-child(1){
            border-left: none;
            margin-right: -60px;
            color: #222222;
            font-weight: bold;
        }
    }
}
.mainnav-left{
    span{
        font-size: 13px;
        color: #222222;
        font-weight: bold;
        font-family: '幼圆';
    }
}

@media screen and (min-width: 992px) and (max-width: 1200px){
    .mainnav-img img{
        width: 98%;
    }
}

@media (max-width:992px){
    .mainnav{height: 100%;}
}

.footer{
    height: 92px;
    background-color: @bg;
}











// 返回顶部
body,html{
    // 实现点击平滑效果
    scroll-behavior: smooth;
}
.top-img{
    display: flex;
    justify-content: flex-end;
    img{
        width: 4%;
    }
}
@media (max-width:992px){
    .top-img img{
        width: 15%;
    }
}

